Skip to content

Conversation

@aaronj0
Copy link
Contributor

@aaronj0 aaronj0 commented May 26, 2025

Trigger a verbose CI run with Windows to examine the cppyy test status

@aaronj0 aaronj0 requested a review from guitargeek May 26, 2025 18:04
@aaronj0 aaronj0 requested review from bellenot and dpiparo as code owners May 26, 2025 18:04
@aaronj0 aaronj0 added the clean build Ask CI to do non-incremental build on PR label May 26, 2025
@aaronj0 aaronj0 closed this May 26, 2025
@aaronj0 aaronj0 reopened this May 26, 2025
@aaronj0 aaronj0 self-assigned this May 26, 2025
@github-actions
Copy link

github-actions bot commented May 26, 2025

Test Results

    22 files      22 suites   3d 17h 27m 43s ⏱️
 3 812 tests  3 809 ✅ 0 💤 3 ❌
76 930 runs  76 927 ✅ 0 💤 3 ❌

For more details on these failures, see this check.

Results for commit 301a63f.

♻️ This comment has been updated with latest results.

@aaronj0 aaronj0 force-pushed the cppyy-win-tests branch from 81cad25 to 7025fed Compare May 26, 2025 19:04
@guitargeek
Copy link
Contributor

2025-05-26T19:53:28.0200811Z 24:         if sc == -1:
2025-05-26T19:53:28.0200984Z 24: >           raise RuntimeError("Unable to load reflection library "+name)
2025-05-26T19:53:28.0201385Z 24: E           RuntimeError: Unable to load reflection library C:\ROOT-CI\build\bindings\pyroot\cppyy\cppyy\test/stltypesDict

Looks like we have to use a proper os.path.join in Python...

@guitargeek guitargeek removed their request for review October 18, 2025 22:03
@guitargeek guitargeek force-pushed the cppyy-win-tests branch 2 times, most recently from 6477723 to 7897153 Compare December 25, 2025 16:16
@guitargeek guitargeek self-requested a review as a code owner January 7, 2026 10:39
@guitargeek guitargeek force-pushed the cppyy-win-tests branch 14 times, most recently from 1a10344 to 46b7533 Compare January 8, 2026 14:22
@guitargeek guitargeek force-pushed the cppyy-win-tests branch 7 times, most recently from 0ce0043 to 029bbdc Compare January 12, 2026 08:25
@guitargeek guitargeek force-pushed the cppyy-win-tests branch 14 times, most recently from 1bb881f to 207de17 Compare January 14, 2026 21:23
guitargeek and others added 5 commits January 14, 2026 23:36
The `PyObject_CallMethod()` to call `reserve()` might fail, in which
case we should not try to decrement the result variable. Use the
`Py_XDECREF` macro that does a `nullptr` check.
They are now part of the cppyy tests that are run on all platforms.

The only test that is kept is a ROOT-specific one, which is moved to a
different file.
Most tests were already present in the cppyy test suite, except for the
`std::tuple_element` test introduced in the following commit:

root-project/roottest@c0e6d20
We should be more granular and consistent when disabling tests.
Copy link
Contributor

@guitargeek guitargeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much! I made some additional changes to bring the PR over the finish line:

  • use ACLiC for dictionary generation, which worked the easiest on all platforms (as was done by the old roottest/python)
  • remove some tests in roottest/python that are redundant, now that we also run the cppyy tests on all platforms
  • consistently use the pytest markers to steer disabling of tests. This gives us a better overview of what is actually disabled, and lets us do more granular disabling
  • temporarily circumvent a crash on Windows 64 bit by replacing a Py_DECREF with Py_XDECREF, which includes a nullptr protection (FYI, @bellenot).

Note that some incremental builds might fail in the next hours, because some declarations will be available both in the old test dictionaries generated by ROOT_GENERATE_DICTIONARY, and the new ones generated by ACLiC. The declarations might clash and cause test failures.

@guitargeek guitargeek merged commit 8ad3cb1 into root-project:master Jan 15, 2026
27 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants